package org.znxs.znxsojjudge;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.znxs.znxsojjudge.rabbitMq.MqInitMain;

@SpringBootApplication()
@EnableDiscoveryClient
@ComponentScan(basePackages = "org.znxs")
public class ZnxsOjJudgeApplication {

    public static void main(String[] args) {
        // 自动启动消息队列
        MqInitMain.doInit();
        SpringApplication.run(ZnxsOjJudgeApplication.class, args);
    }

}
